Systems and methods for automatically generating system restoration order for network recovery

ABSTRACT

Embodiments relate to systems and methods for automatically generating a system restoration order for network recovery. A set of managed machines, such as personal computers or servers, can be managed by a network management platform communicating with the machines via a secure channel. The network management platform can access a dependency map indicating a required order for restoration of machines or nodes on a network. The network management platform likewise access a reverse kickstart file for each machine to be automatically restored in order to ensure proper functioning of the network, and extract a current configuration of that machine for purposes of restoring the overall network.

FIELD

The present teachings relate to systems and methods for automatically generating system restoration order for network recovery, and more particularly to platforms and techniques for.

BACKGROUND OF RELATED ART

Network management platforms exist which permit a systems administrator to connect to a set of targets in a network, and perform maintenance and diagnostic activities on that group of managed machines. The network management platform can identify individual targets via a public key or other security credential, and identify the software provisioning requirements, obtain a hardware inventory, or perform other management tasks on validated machines. In general, existing network management platforms can be hosted on a central server or other facility that permits connection to, identification, and management of the set of targets.

In terms of the maintenance of machines populated on a network as well as the maintenance of the network on a comprehensive basis, systems administrators from time to time may need to take stock of individual machines and their network relationships. The managed network may need to be interrogated to determine installation configurations and network interconnections, for instance, to prepare for the possible restoration of the network or individual machines in the event of a crash, intrusion, disaster, or other unforeseen hazard.

Existing network management platforms suffer from various limitations of design and function, however, in terms of their ability to manage any low-level or high-level restoration process. For one, in the event of the failure of multiple servers, clients, or other nodes or machines, existing platforms are not equipped to identify the software dependencies of one machine on another. For instance, where one server supports a Web page for commercial online customers whose accounts are stored in a second remote database, it may be necessary to restore the database server first, before the Web server, to ensure account data can be retrieved using that networked software or service. Besides crash recovery, the ability to identify software-related dependencies would also prove useful for security management purposes, if that capability were available.

For further instance, in the case of the corruption or loss of individual machines, the particular configuration of those machines can be difficult or impossible to restore using existing network management platforms. While individual “kickstart” files reflecting initial configuration states can be received from targets or other machines during installation, those files can be lost or damaged in existing network management platforms, which have no facility for managing such files. Kickstart files can, in general, include any type of installation answer file, such as, for instance, JumpStart, AutoYast, preseed, or other files or protocols. in In further regards, existing network management platforms or provisioning platforms provide no integrated tool to attempt the restoration of an entire datacenter or network, including all individual nodes and taking software dependency into account. Thus, there is a need in the art for methods and systems that provide centralized management of restoration and related operations.

DESCRIPTION OF THE DRAWINGS

The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the present teachings and together with the description, serve to explain the principles of the present teachings. In the figures:

FIG. 1 illustrates an overall network in which systems and methods for automatically generating a system restoration order for network recovery can be practiced, according to various embodiments of the present teachings;

FIG. 2 illustrates an overall network in which systems and methods for automatically generating a system restoration order for network recovery can be practiced to various embodiments of the present teachings, including transmission of data files;

FIG. 3 illustrates an illustrative hardware configuration which can support systems and methods for automatically generating system restoration order for network recovery according to various embodiments of the present teachings;

FIG. 4 illustrates a flowchart for software dependency processing, according to various embodiments of the present teachings;

FIG. 5 illustrates a flowchart of generation of a reverse kickstart file, according to various embodiments of the present teachings; and

FIG. 6 illustrates a flowchart of generating a network-scale restoration in controlled physical order, according to various embodiments of the present teachings.

DESCRIPTION OF EMBODIMENTS

Embodiments of the present teachings relate to systems and methods for automatically generating a system restoration order for network recovery. More particularly, embodiments relate to platforms and techniques for accessing a dependency map to identify an ordered list of nodes for restoration of a network, based on the dependency of software or services installed on the set of machines in a managed network. As each machine is processed in order for restoration, a network management platform can extract a reverse kickstart file to re-install a set of software and/or other resources to the current configuration of that node. An entire network or datacenter can therefore be automatically be restored in an order that preserves proper function of the network and its nodes.

Reference will now be made in detail to exemplary embodiments of the present teachings, which are illustrated in the accompanying drawings. Where possible the same reference numbers will be used throughout the drawings to refer to the same or like parts.

FIG. 1 illustrates an overall system 100 in which systems and methods for automatically generating system restoration order for network recovery can be implemented, according to various embodiments of the present teachings. In embodiments as shown, network management platform 102 can communicate with managed network 116 via a secure channel 148. Secure channel 148 can for instance be or include the secure channel and related resources described in co-pending U.S. application Ser. No. 12/130,424, filed May 30, 2008, entitled “Systems and Methods for Remote Management of Networked Systems Using Secure Modular Platform,” Which published as U.S. patent application Publication No. ______, assigned or under obligation of assignment to the same entity as this application, and which application is incorporated by reference herein. Secure channel 148 can be or include, for example, a secure socket layer (SSL) connection, a channel established using a public/private key infrastructure, and/or other connections, channels, or protocols. Managed network 116 can include, as shown, a set of supervisory hosts 112, a set of targets 180, and/or other machines, devices, clients, and/or other hardware, software, storage or other resources.

While secure channel 148 is illustratively shown as one channel to managed network 116 or devices therein, it will be understood that in embodiments, secure channel 148 can comprise multiple channels or connections. In embodiments, secure channel 148 can instead be replaced by a non-secure channel or connection. In general, network management platform 102 can communicate with the managed network 116 and its constituent machines and resources, which can for instance comprise personal computers, servers, network-enable devices, virtual machines, and/or other devices, and manage the security of those machines under the supervision of network management platform 102. The network management platform 102 can host a set of engines, logic, and/or other resources to interrogate managed network 116 and identify software dependencies, reverse kickstart files, and/or network-wide restoration data or policies to manage the tracking, backup, and restoration of managed network 116 and/or its constituent nodes, machines, and resources. Network management platform 102 can, in embodiments as shown, host engines or logic including dependency engine 186, reverse kickstart generator 188, and network reconstruction engine 190. Network management platform 102 can communicate with network store 104 to establish, maintain and store dependency map 162, set of reverse kickstart files 166, and network reconstruction data 168. Other logic and data stores can be used.

The network management platform 102 can also for instance establish a set of security policies for managed machines in its domain, including for example an access control list (ACL) and/or other policies, lists, or parameters for the maintenance and management of managed network 116. Security policies and other data can for instance be stored in network store 104.

Network management platform 102 can establish secure connection 148 or other connection to managed network 116, and conduct network scanning, backup and restoration operations, according to various embodiments described herein.

According to embodiments in one regard, network management platform 102 can operate to connect to a given one or more of managed network 116 to probe managed network 116 for software-based dependencies in two or more nodes in the network. As for example more particularly shown in FIG. 2, network management platform 102 can host a dependency engine 186 to interrogate managed network 116 and identify software-based dependencies amongst targets, hosts, and/or other nodes in managed network 116. Dependency engine 186 can for instance issue one or more discovery command 120 to cause set of targets 180, set of supervisory hosts 112, and/or other nodes in managed network 116 to report applications or other software or services with which those nodes communicate, for instance to receive input or initiate services. According to various embodiments, one or more discovery command 120 can probe for, request, and transmit various types of data to dependency engine 186 to generate dependency map 162 based on the responses from nodes in managed network 116. One or more discovery command 120 can, for instance, probe for reports on virtual hosts and guests, including what virtual process runs on what node or machine. One or more discovery command 120 can likewise probe for reports on which nodes or machines have which other machines in an SSH (Secure Shell protocol) authorized keys file, and/or which targets in set of targets 180 may have received authentication to communicate with/act as a local supervisory node to other low-level targets. One or more discovery command 120 can, for instance, probe for reports on what configuration files indicate that network services, such as, for instance, sendmail, dns, syslog, or other services, reference other nodes or machines. One or more discovery command 120 can, for yet further instance, probe for reports on what network connections are present in a given node or machine, analogous to a “netstat—a—n” command. Other commands, requests, reports, or other probes can be used.

After receiving responses to one or more discovery command 120, network management platform 102 can build dependency map 162 encoding the software-based dependencies between set of target 180, set of supervisory hosts 112, and/or other nodes in managed network 116. Dependency map 162 can, for example, be configured as an ordered list, a tree, a graph, a database, a spreadsheet, and/or other data structure or coding. Dependency map 162 can encode relationships between software, services, and/or nodes of managed network 116, for instance to record that “Software Application A running on node 44 requires Software Application B running on node 32,” or other orderings or relations. According to embodiments in further regards, network management platform 102 can thereby access dependency map 162 and reconstruct an ordered set of software installations and/or machine re-initializations to be carried out after an interruption in managed network 116, such as a physical disaster, security intrusion, or other event. Network management platform 102 can also operate on dependency map 162 to examine managed network 116 for security, configuration or issues, and/or carry out cloning operations for any nodes in the network, or the network itself. Because necessary relations between software, services and/or nodes can be effectively encoded in dependency map 162, software restoration in a logically necessary order can be generated at any needed time, enhancing the security and reliability of managed network 116. According to embodiments in further regards, network management platform 102 can operate to connect to managed network 116 and extract or build a reverse kickstart file 166, as also for instance illustrated in FIG. 2.

In embodiments as shown, network management platform 102 can issue one or more discovery commands 120 to locate any original kickstart files generated during an installation or initialization process for any node of managed network 116. The kickstart files which one or more discovery commands 120 seek out can be kickstart files and related data such as that described in co-pending U.S. patent application Ser. No. 11/763,315, U.S. patent application Publication No. ______ and U.S. patent application Ser. No. 11/763,333, U.S. patent Publication No. ______, the disclosures of which are incorporated herein, in their entirety, by reference. According to various embodiments, network management platform 102 can locate any kickstart file copied by the installer and perform other operations using reverse kickstart generator 188, or other logic. If present, in embodiments “/root/anaconda.ks can be used as a base point to locate any kickstart files. Network management platform 102 can further access a package management tool or application programming interfaces (APIs), such as “rpm—va” or yum-based protocols, to determine what files that were originally present in installation packages have been user-modified. If user-modified files are found, those files can be embedded in reverse kickstart file 166, which in embodiments can be stored to “% post” or other locations. Network management platform 102 can further scan managed network, for instance using available storage APIs, to detect mounted file systems in a subject node and regenerate a new section of reverse kickstart file 166 that represents the storage section of the installation. This section can, in embodiments, replace the section in the original kickstart file whose image is being extracted. In embodiments, network mounted file systems can also be detected, and for instance stored to “% post” or other locations.

In embodiments, network management platform can likewise embed/include any authorized keys in the reverse kickstart file 166, as well as any files not controlled by a package management tool. In embodiments, instead of embedding/including said files in reverse kickstart file 166, that data can be stored to a backup system (such as, for example, bacula or rdiff-backup) and be made to include in the reverse kickstart file 166 the paths/commands needed to restore them. Once the reverse kickstart file 166 is generated, it can then be used stand alone or with a provisioning platform 170 to recreate the systems, in current configurations, from scratch, effectively automatically reverse engineering their configuration from their current state. The systems administrator can later adjust the reverse kickstart file 166 as needed to begin maintaining and updating captured systems via that mechanism, or use that resource to clone or restore more systems as needed, for instance for disaster recovery purposes. In embodiments, the reverse kickstart file 166 and associated processes can be used to clone a network or datacenter, by effectively mirroring a set of machines to a new location. Other uses are possible.

According to embodiments in one regard, network management platform 102 can operate to connect to a given one or more of managed network 116 to generate a reconstruction of managed network 116 in the event of a significant or large-scale network malfunction, intrusion, or disaster. As for example also more particularly shown in FIG. 2, network management engine 102 can host network reconstruction engine 190 communicating with network reconstruction data 168 to perform an ordered restoration of a portion or all of managed network. In embodiments as shown, network reconstruction engine 190 can incorporate and/or access both reverse kickstart files and software dependency mappings as described herein, to perform a comprehensive or large-sale restoration of managed network 116 in a logically structured physical order. In embodiments, network management engine 102 via network reconstruction engine 190 can operate to generate a set of reconstruction commands 172 by accessing dependency map 162, reverse kickstart file 166, network reconstruction data 168, and/or other data or resources. In embodiments, the network reconstruction engine 190 can access dependency map 162, and identify a set of ordered nodes to restore to managed network 116. For each node, network reconstruction engine 190 can access a reverse kickstart file 166 or other source to re-provision the software resources of that node, or otherwise restore that node to managed network 116. Some or all of the restoration or re-provisioning of the nodes of managed network 116 can be performed by a provisioning platform 170, such as that described in the aforementioned in co-pending U.S. patent application Ser. No. 11/763,315, U.S. patent application Publication No. ______ and U.S. patent application Ser. No. 11/763,333, U.S. patent Publication Ser. No. ______, or other platforms or systems. In embodiments, files for restoration can be served from a backup server or system, if file sizes dictate. Once a network-wide or complete datacenter restoration has been performed in dependency or other order, network management platform 102 can execute one or more validation or debugging tests, using for example a secure connection and related resources such as those described in the afore-mentioned U.S. application Ser. No. 12/130,424, filed May 30, 2008, entitled “Systems and Methods for Remote Management of Networked Systems Using Secure Modular Platform,” which published as U.S. patent application Publication Ser. No. ______. Other network management platforms or systems can be used.

FIG. 3 illustrates an exemplary diagram of hardware and other resources that can be incorporated in a network management platform 102 configured to communicate with managed network 116 and/or other resources, according to embodiments. In embodiments as shown, the network management platform 102 can comprise a processor 124 communicating with memory 126, such as electronic random access memory, operating under control of or in conjunction with operating system 130. Operating system 130 can be, for example, a distribution of the Linux™ operating system, the Unix™ operating system, or other open-source or proprietary operating system or platform. Processor 124 also communicates with a network store 104, such as a database stored on a local hard drive. Processor 124 further communicates with network interface 128, such as an Ethernet or wireless data connection, which in turn communicates with one or more networks 110, such as the Internet or other public or private networks. Processor 124 also communicates with dependency engine 186, reverse kickstart generator 188, and network reconstruction engine 190, to execute control logic and perform management and restoration processes described herein. Other configurations of the network management platform 102, associated network connections, and other hardware and software resources are possible. While FIG. 3 illustrates network management platform 102 as a standalone system comprises a combination of hardware and software, network management platform 102 can also be implemented as a software application or program capable of being executed by a conventional computer platform. Likewise, network management platform 102 can also be implemented as a software module or program module capable of being incorporated in other software applications and programs. In either case, network management platform 102 can be implemented in any type of conventional proprietary or open-source computer language.

FIG. 4 illustrates a flowchart of processing to manage software dependency and network restoration, according to various embodiments. In 402, processing can begin. In 404, a secure connection 148 or other connection(s) can be established from network management platform 102 to managed network 116. In 406, one or more discovery command 120 can be issued from network management platform 102 to hosts, targets, and/or other nodes in managed network 116 to obtain a report of software and/or services upon which each node depends or requires. In 408, network management platform 102 can generate a dependency map 162 indicating the dependency order of relationship between each node and/or its software complement and other nodes and their software complement in managed network 116. Dependency map 162 can be generated, for example, in the form of an ordered list of nodes and/or applications or other software, a tree, a linked list, a graph, a spreadsheet, a database, and/or other data structure. In 410, network management platform 102 can initiate a software reconstruction, re-installation, recovery, or other provisioning or installation process on managed network 116. In 412, network management platform 102 can extract a map, graph, spreadsheet, or other representation or encoding of dependency relationships between nodes in managed network 116 and/or the software, services and/or other resources or processes installed, hosted, or accessed on nodes of managed network 116. In 414, network management platform 102 and/or other logic can identify an ordering or other relationship of the nodes of managed network 116 to be rebuilt or re-installed using dependency map 162 and/or other data. In 416, a re-provisioning or other software re-installation process can be executed on managed network 116, for instance, to provision or install operating systems, applications, data, services, and/or other software to nodes of managed network 118. In 418, a record of the re-installation activity can be generated and/or stored, as appropriate. In 420, as understood by persons skilled in the art, processing can repeat, return to a prior processing point, jump to a further processing point, or end.

FIG. 5 illustrates a flowchart of processing to manage the generation of a reverse kickstart or other reverse installation file, according to various embodiments. In 502, processing can begin. In 504, network management platform 102 can search managed network 116 to locate any kickstart or other installation file left over or copied by an installation process on nodes of managed network 116. In 506, a reverse kickstart file 166 can be created/initialized. In 508, network management platform 102 can use a package management tool and/or other tool or resource to inspect/identify any user-modified files located on the target machine or other node for which a reverse kickstart file 166 or other reverse installation file is being generated.

In 510, network management platform 102 can located a mounted file system(s) and regenerate a new section of the kickstart file representing a storage section of the installation. In 512, the storage part of the original installation file can be replaced, and/or added or inserted in reverse kickstart file 166. In 514, network management platform 102 can generate a record of mounted file systems on the node associated with reverse kickstart file 166. In 516, any authorized keys or other security credentials from the subject node can be embedded in reverse kickstart file 166, and/or the security data can be stored to a backup system in which the security data along with paths, commands, and/or keys needed to restore the node can be inserted. In 518, any files not detected or controlled by the package management tool used by network management platform 102 can be embedded reverse kickstart file 166, or those files can be stored to a backup system in which those files along with paths, commands, and/or keys needed to restore the node can be inserted. In 520, the network management platform 102 can access reverse kickstart file 166 and initiate a machine restoration process for one or more nodes in managed network 116, as appropriate. In 522, as understood by persons skilled in the art, processing can repeat, return to a prior processing point, jump to a further processing point, or end.

FIG. 6 illustrates a flowchart of processing to perform network-scale restoration, according to various embodiments. In 602, processing can begin. In 604, a recovery process for a managed network 116 and its components, and/or other datacenter entity can be initiated. In 606, a first node or nodes required for network recovery can be identified based on dependency map 166, for instance, by identifying the lowest/highest node in managed network 116 required by other nodes. In 608, a reverse kickstart file 166 and/or other backup files or data associated with the first required node(s) can be extracted from network store 104 or other location. In 610, network management platform 102 can build installation file(s) for the first required node(s) can be built from reverse kickstart file 166 and/or other data.

In 612, the re-provisioning or re-installation of the first required node(s) can be initiated using a provisioning platform 170 and/or other tools or resources. In embodiments, provisioning platform 170 and related processes can be or include those described in the aforementioned copending U.S. patent application Ser. No. 11/763,315, U.S. patent application Publication No. ______ and U.S. patent application Ser. No. 11/763,333, U.S. patent Publication No. ______. In 614, the identification of a next required node(s) based on dependency map 162 can be begun/repeated, and the extraction of associated reverse kickstart file 166 can be begun/repeated, until the last node of managed network 116 is processed/re-installed. In 616, the re-installation of all nodes recovered in managed network 116 can be verified via network management platform 102 after all nodes have been processed. In 618, network management platform 102 can generate a record of re-installation or recovery activity, as appropriate. In 620, as understood by persons skilled in the art, processing can repeat, return to a prior processing point, jump to a further processing point, or end.

The foregoing description is illustrative, and variations in configuration and implementation may occur to persons skilled in the art. For example, while embodiments have been described in which a single network management platform 102 manages and maintains managed network 116, in embodiments, multiple engines, servers, or other entities can cooperate to perform network management functions. For further example, while embodiments have been described in which restoration, dependency, and/or other operations can be performed on a single host or target, in embodiments, multiple diagnostic targets or an entire group of managed machines can be operated on at one time or together. Other resources described as singular or integrated in some embodiments can in embodiments be plural or distributed, and resources described as embodiments as multiple or distributed can in embodiments be combined. The scope of the present teachings is accordingly intended to be limited only by the following claims. 

1. A method of restoring a network, comprising: accessing a dependency map for a set of nodes on a network, the dependency map encoding a dependency relationship between nodes in the network based on software installed on the nodes; accessing a reverse kickstart file for a first node represented in the dependency map, the reverse kickstart file encoding a set of software hosted on the first node; generating a provisioning installation on the first node using the reverse kickstart file associated with the first node via a provisioning server; accessing an associated kickstart file for remaining nodes in the set of nodes; and restoring the network by generating a provisioning installation for the remaining nodes using the associated reverse kickstart file for each of the remaining nodes.
 2. The method of claim 1, wherein the dependency map comprises a set of ordered links between nodes in the network based on a first set of software generating output or services used as inputs to a second set of software.
 3. The method of claim 1, wherein the dependency map is generated via a network management platform issuing a set of discovery commands.
 4. The method of claim 1, wherein the provisioning installation comprises at least one of an operating system and a set of applications.
 5. The method of claim 1, wherein the reverse kickstart file contains instructions for recreating the contents of at least one system installation on at least one file system.
 6. The method of claim 1, wherein the set of nodes comprises at least one of a set of servers, a set of hosts, and a set of targets.
 7. The method of claim 1, further comprising validating the network restoration using a validation process performed via a network management platform.
 8. A network management platform, comprising: an interface to a network having a set of nodes; and a network management engine, communicating with the set of nodes via the interface, the network management engine being configured to— access a dependency map for the set of nodes on the network, the dependency map encoding a dependency relationship between nodes in the network based on software installed on the nodes, access a reverse kickstart file for a first node represented in the dependency map, the reverse kickstart file encoding a set of software hosted on the first node, generate a provisioning installation on the first node using the reverse kickstart file associated with the first node via a provisioning server, access an associated kickstart file for remaining nodes in the set of nodes, and restore the network by generating a provisioning installation for the remaining nodes using the associated reverse kickstart file for each of the remaining nodes.
 9. The network management platform of claim 8, wherein the dependency map comprises a set of ordered links between nodes in the network based on a first set of software generating output or services used as inputs to a second set of software.
 10. The network management platform of claim 8, wherein the network management engine is further configured to generate the dependency map by issuing a set of discovery commands.
 11. The network management platform of claim 8, wherein the provisioning installation comprises at least one of an operating system and a set of applications.
 12. The network management platform of claim 8, wherein the reverse kickstart file contains instructions for recreating the contents of at least one system installation on at least one file system.
 13. The network management platform of claim 8, wherein the set of nodes comprises at least one of a set of servers, a set of hosts, and a set of targets.
 14. The network management platform of claim 8, wherein the network management engine is further configured to validate the network restoration using a validation process.
 15. A restored network, the network being restored via a method of: accessing a dependency map for a set of nodes on the restored network, the dependency map encoding a dependency relationship between nodes in the restored network based on software installed on the nodes; accessing a reverse kickstart file for a first node represented in the dependency map, the reverse kickstart file encoding a set of software hosted on the first node; generating a provisioning installation on the first node using the reverse kickstart file associated with the first node via a provisioning server; accessing an associated kickstart file for remaining nodes in the set of nodes; and generating the restored network by generating a provisioning installation for the remaining nodes using the associated reverse kickstart file for each of the remaining nodes.
 16. The restored network of claim 15, wherein the dependency map comprises a set of ordered links between nodes in the network based on a first set of software generating output or services used as inputs to a second set of software
 17. The restored network of claim 15, wherein the dependency map is generated via a network management platform issuing a set of discovery commands.
 18. The restored network of claim 15, wherein the provisioning installation comprises at least one of an operating system and a set of applications.
 19. The restored network of claim 15, wherein the reverse kickstart file contains instructions for recreating the contents of at least one system installation on at least one file system.
 20. The restored network of claim 15, wherein the set of nodes comprises at least one of a set of servers, a set of hosts, and a set of targets. 